﻿<controls:ChildWindow x:Class="demo.Views.AddEmp"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="300" 
           Title="AddEmp">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        
        
        <StackPanel Orientation="Vertical">

            <StackPanel Orientation="Horizontal">
                <TextBlock Height="23" HorizontalAlignment="Left" Margin="5" Name="textBlock1" Text="Name:" VerticalAlignment="Top" />
                <TextBox Height="23" HorizontalAlignment="Left" Margin="5" Name="tbName" VerticalAlignment="Top" Width="120" />
            </StackPanel>


            <StackPanel Orientation="Horizontal">
                <TextBlock Height="23" HorizontalAlignment="Left" Margin="5" Text="Addr:" VerticalAlignment="Top" />
                <TextBox Height="23" HorizontalAlignment="Left" Margin="5" Name="tbAddr" VerticalAlignment="Top" Width="120" />
            </StackPanel>

            <StackPanel Orientation="Horizontal">
                <TextBlock Height="23" HorizontalAlignment="Left" Margin="5" Text="Ext:" VerticalAlignment="Top" />
                <TextBox Height="23" HorizontalAlignment="Left" Margin="5" Name="tbExt" VerticalAlignment="Top" Width="120" />
            </StackPanel>

        </StackPanel>



        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" />
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" />
    </Grid>
</controls:ChildWindow>